package com.dingreading.cloud.soms.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 实体类。
 *
 * @author Administrator
 * @since 2025-04-08
 */
@Data
@Table(value = "ci_student", dataSource = "ds3")
public class MstCiStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private String addStaffUid;

    private String addStaffName;

    private String lastStaffUid;

    private String lastStaffName;

    private String agencyUid;

    /**
     * 门店uid
     */
    private String storeUid;

    private String telephone;

    private String email;

    private String nickname;

    private String password;

    /**
     * classin学生uid
     */
    private Integer ciStudentUid;

    /**
     * 1.一年级 2.二年级 3.三年级 4.四年级 5.五年级 6.六年级
     */
    private Integer grade;

    private Integer enabled;

    private String uid;

    private Integer classinBind;

    private String labelIds;

    private String remark;

    /**
     * 是否删除，0为未删除，1为已删除
     */
    private Integer isDeleted;

    /**
     * 介绍人学生姓名
     */
    private String referenceName;
    /**
     * 介绍人学生UID
     */
    private String referenceUid;
    /**
     * 介绍人学生手机号码
     */
    private String referencePhone;

}
